<template>
  <div class="test">
    测试{{ txt }}
    <button>测试</button>
  </div>
</template>

<script>
import { getAppToken } from "../utils/getAppToken";
export default {
  data() {
    return {
      txt: "",
    };
  },
  methods: {},
  created() {
    getAppToken().then(() => {
      this.txt = "回来了";
    });
  },
};
</script>

<style>
</style>